package cn.iocoder.yudao.module.fm.convert.tunnel;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fm.controller.admin.tunnel.vo.*;
import cn.iocoder.yudao.module.fm.dal.dataobject.tunnel.TunnelDO;

/**
 * 隧道 Convert
 *
 * @author 档案
 */
@Mapper
public interface TunnelConvert {

    TunnelConvert INSTANCE = Mappers.getMapper(TunnelConvert.class);

    TunnelDO convert(TunnelCreateReqVO bean);

    TunnelDO convert(TunnelUpdateReqVO bean);

    TunnelRespVO convert(TunnelDO bean);

    List<TunnelRespVO> convertList(List<TunnelDO> list);

    PageResult<TunnelRespVO> convertPage(PageResult<TunnelDO> page);

    List<TunnelExcelVO> convertList02(List<TunnelDO> list);

}
